<?php /* Smarty version Smarty-3.1.15, created on 2016-10-28 15:24:17
         compiled from "D:\projs\USBWebserver v8.6\root\snapshop\admin\include\template\snap\order_sn.tpl" */ ?>
<?php /*%%SmartyHeaderCode:100795812f71e87b2b2-64164694%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7cf7e85a69488e641ba57f2c766eb5e833acc5ad' => 
    array (
      0 => 'D:\\projs\\USBWebserver v8.6\\root\\snapshop\\admin\\include\\template\\snap\\order_sn.tpl',
      1 => 1477639454,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '100795812f71e87b2b2-64164694',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_5812f71e8a23c5_93956058',
  'variables' => 
  array (
    'osadmin_action_alert' => 0,
    'osadmin_quick_note' => 0,
    'sns' => 0,
    'sn' => 0,
    'osadmin_action_confirm' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5812f71e8a23c5_93956058')) {function content_5812f71e8a23c5_93956058($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("navibar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!-- START 以上内容不需更改，保证该TPL页内的标签匹配即可 -->
<?php echo $_smarty_tpl->tpl_vars['osadmin_action_alert']->value;?>

<?php echo $_smarty_tpl->tpl_vars['osadmin_quick_note']->value;?>


<div class="well">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#home" data-toggle="tab">訂單列表</a></li>
    </ul>

    <div id="myTabContent" class="tab-content">
        <div class="tab-pane active in" id="home">

            <form id="tab" method="post" action="">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>訂單編號</th>
                        <th>產品ID</th>
                        <th>產品名稱</th>
                        <th>用戶名</th>
                        <th>數量</th>
                        <th>手機號</th>
                        <th>地址</th>
                        <th>快遞名稱</th>
                        <th>快遞狀態</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php  $_smarty_tpl->tpl_vars['sn'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sn']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['sns']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sn']->key => $_smarty_tpl->tpl_vars['sn']->value) {
$_smarty_tpl->tpl_vars['sn']->_loop = true;
?>
                        <tr>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['order_sn'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['products_id'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['products_name'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['user_name'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['num'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['phone'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['addr'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['kd_name'];?>

                            <td><?php echo $_smarty_tpl->tpl_vars['sn']->value['kd_status'];?>

                            </td>
                            <td>
                                <a class="btn btn-info"
                                   href="kuaidi.php?id=<?php echo $_smarty_tpl->tpl_vars['sn']->value['products_id'];?>
&order_sn=<?php echo $_smarty_tpl->tpl_vars['sn']->value['order_sn'];?>
&action=modify"
                                   target="_self" title="配置物流信息"
                                   alt="配置物流信息">配置物流信息</a>

                                <a class="btn btn-info"
                                   href="order_sn.php?id=<?php echo $_smarty_tpl->tpl_vars['sn']->value['products_id'];?>
&order_sn=<?php echo $_smarty_tpl->tpl_vars['sn']->value['order_sn'];?>
&action=del"
                                   onclick="if(confirm('确定删除吗?')==false)return false;"
                                   target="_self" title="删除"
                                   alt="删除">删除</a>

                            </td>
                        </tr>
                        <?php } ?>
                    </tbody>
                </table>
            </form>
        </div>
    </div>

    <!---操作的确认层，相当于javascript:confirm函数--->
    <?php echo $_smarty_tpl->tpl_vars['osadmin_action_confirm']->value;?>



    <!-- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 -->
    <?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
